package com.note.middleware.dto;

import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * Minio存储桶策略配置数据传输对象
 */
@Data
@Builder
public class BucketPolicyConfigDto {

    private String version;
    private List<Statement> statements;

    @Data
    @Builder
    public static class Statement {
        private String Effect;
        private String Principal;
        private String Action;
        private String Resource;
    }
} 